/*
 * Copyright By ZATI
 * Copyright By 3a3c88295d37870dfd3b25056092d1a9209824b256c341f2cdc296437f671617
 * All rights reserved.
 *
 * If you are not the intended user, you are hereby notified that any use, disclosure, copying, printing, forwarding or
 * dissemination of this property is strictly prohibited. If you have got this file in error, delete it from your system.
 */

package cn.wzc.crystal.security.code;

import cn.wzc.crystal.platform.support.Code;
import lombok.Getter;
import lombok.RequiredArgsConstructor;

@Getter
@RequiredArgsConstructor
public enum SecurityCode implements Code {

	// 用户名密码错误
	BAD_CREDENTIALS("SEC-001", "bad credentials"),

	// 用户被锁定
	USER_LOCKED("SEC-002", "user is locked"),

	// 用户被禁用
	USER_DISABLED("SEC-003", "user is disabled"),

	//  已经登录过
	USER_ALREADY_LOGIN("SEC-004", "you have already login"),

	// 客户端IP被禁
	CLIENT_IP_FORBIDDEN("SEC-005", "client ip is forbidden"),


	;


	private final String code;
	private final String message;

}